package example.controller;

import example.service.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class BaseController {

    @Autowired
    BaseService bs;

    //检查用户信息
    @RequestMapping("check")
    public String check(){
        bs.check();
        return "#";
    }

    //查看文件列表
    @RequestMapping("read")
    public String read(){
        bs.read();
        return "#";
    }


}
